package scsc.web.system.data;

// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name:   SysOperatorData.java

import scsc.pub.data.Operator;
import scsc.pub.tools.StringUtil;
import java.io.Serializable;

public class SysOperatorData extends Operator implements Serializable {

	private String deptName;

	public static final String deptNameDB = "DEPTNAME";

	public SysOperatorData() {
		init();
	}

	public SysOperatorData(String operatorid, String operatorname,
			String deptcode, String deptname, String password, String regdate,
			String lastpassword, int lifecycle, String state) {
		setOperatorid(operatorid.trim());
		setOperatorname(operatorname.trim());
		setDeptcode(deptcode.trim());
		setDeptName(deptname.trim());
		setStat(state.trim());
		setLifecycle(lifecycle);
		setRegdate(regdate);
		setPassword(password);
		setLastpassword(lastpassword);
	}

	public SysOperatorData(String operatorid, String operatorname) {
		setOperatorid(operatorid.trim());
		setOperatorname(operatorname.trim());
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = StringUtil.trim(deptName);
	}

	public void reset() {
		init();
	}

	public void init() {
		setOperatorid("");
		setOperatorname("");
		setDeptcode("");
		setPassword("");
		setRegdate("");
		setLastpassword("");
		setLifecycle(0);
		setStat("");
		setDeptName("");
	}

}
